package com.efast.dmom.aps.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.aps.dao.base.BaseDao;
import com.efast.dmom.aps.entity.PartEntity;

public interface PartDao extends BaseDao<PartEntity>{

	public PartEntity getPartByPartNo(@Param(value = "partNo") String partNo,@Param(value = "revision") String revision);

	public List<PartEntity> getAllPart();

	public List<PartEntity> getPartByBomNameAndRevision(@Param("bomName") String bomName,@Param(value = "bomRevision") String bomRevision);

	public List<PartEntity> getPartByPartNoAndRevision(@Param("partNo") String partNo,@Param("partRevision") String partRevision,@Param("start") int start,@Param("length") int length);

}
